package edu.lingnan.librarymanage.service;

import edu.lingnan.librarymanage.core.vo.BookBaseInfo;
import edu.lingnan.librarymanage.core.vo.BookVO;
import edu.lingnan.librarymanage.core.vo.PageDataVO;

/**
 * @author cql
 */
public interface BookService {

    /**
     * 分页获取数据
     *
     * @param categoryId
     * @param pageSize
     * @param current
     * @param name
     * @return
     */
    PageDataVO<BookBaseInfo> findBookByCategory(Integer categoryId, Integer pageSize, Integer current, String name);

    /**
     * 获取图书详细信息
     * @param bookId
     * @return
     */
    BookVO findBookDetail(Integer bookId);
}
